package com.bx.scala.ObjextFoundation06

class DemoDefineClass {
  val a = 0
  def testFunc():Int = {
    1
  }
}

object DemoDefineClass {
  def main(args: Array[String]): Unit = {
    val obj = new DemoDefineClass()
    println(obj.a)
    println(obj.testFunc())
  }
}

